#ifndef INET_RECVSERVICEHANDLER_H
#define INET_RECVSERVICEHANDLER_H

#include "ServiceHandler.h"
#include "Reactor.h"

class RecvServiceHandler : public ServiceHandler
{
public:
  RecvServiceHandler(Reactor * reactor)
    : reactor_(reactor) {}
  void open();
  void service();
  void handleEvent(Handle h, EventType et);

private:
  Reactor *reactor_;
};

#endif
